<template>
	<view>
		<image src="../../static/logo-1.png" class="logo" mode="widthFix"></image>
		<view class="logo-title">EMOS企业在线办公系统</view>
		<view class="logo-subtitle">Ver 2021.6</view>
		<button class="login-btn" open-type="getUserInfo" @tap="login()">登陆系统</button>
		<view class="register-container">
			没有账号？
			<text class='register' @tap="toRegister()">立即注册</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			login:function(){
				uni.showToast({
					title:"请求登陆"
				})
			},
			toRegister:function(){
				uni.navigateTo({
					url:"../register/register"
				})
			}
		}
	}
</script>

<style lang="less">
	@import url('login.less');
</style>
